package com.wcm.system.model.faxuewang;


import javax.persistence.*;

/**
 * @Author：dapan
 * @Description:cadota
 * @Date:Create in 9:40 2018/7/30
 * @Modifird By:
 */
@Entity
@Table(name = "newstype")
public class NewstypeEntity {

    private String ntname;
    private Integer ntisuse;
    private Integer ntfatherid;
    private Integer type;
    private Integer isload;
    private String cclass;


    @Basic
    @Column(name = "ntname", nullable = false, length = 20)
    public String getNtname() {
        return ntname;
    }

    public void setNtname(String ntname) {
        this.ntname = ntname;
    }

    @Basic
    @Column(name = "ntisuse", nullable = true)
    public Integer getNtisuse() {
        return ntisuse;
    }

    public void setNtisuse(Integer ntisuse) {
        this.ntisuse = ntisuse;
    }

    @Basic
    @Column(name = "ntfatherid", nullable = true)
    public Integer getNtfatherid() {
        return ntfatherid;
    }

    public void setNtfatherid(Integer ntfatherid) {
        this.ntfatherid = ntfatherid;
    }

    @Basic
    @Column(name = "type", nullable = true)
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Basic
    @Column(name = "isload", nullable = true)
    public Integer getIsload() {
        return isload;
    }

    public void setIsload(Integer isload) {
        this.isload = isload;
    }

    @Basic
    @Column(name = "cclass", nullable = true, length = 100)
    public String getCclass() {
        return cclass;
    }

    public void setCclass(String cclass) {
        this.cclass = cclass;
    }

    private int id;

    @Id
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
